import IRegByPhoneForm from '@/model/form/user/IRegByPhoneForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 用户注册-通过手机号
export default function regPhoneApi(form: IRegByPhoneForm) {
  return $http.post<IResVO, AxiosResponse<IResVO>, IRegByPhoneForm>(
    '/reg/phone',
    form
  )
}
